export default {

	// Questionnaires
	getQuestionnaire:{
		url:'/qa/questionnaire/get',
		require:['token','clientid','id']
	},
	getQuestionnaireList:{
		url:'/qa/questionnaire/list',
		require:['token','clientid']
	},
	createQuestionnaire:{
		url:'/qa/questionnaire/create',
		require:['token','clientid','title','typeId']
	},
	updateQuestionnaire:{
		url:'/qa/questionnaire/update',
		require:['token','clientid','title','author','typeId','id']
	},
	deleteQuestionnaire:{
		url:'/qa/questionnaire/delete',
		require:['token','clientid','id']
	},
	// Questions
	createInstance:{
		url:'/qa/instance/create',
		require:['token','clientid','qaId','repeatable','title']
	},
  updateInstance:{
		url:'/qa/instance/update',
		require:['token','clientid','instanceId']
	},
  deleteInstance:{
    url:'/qa/instance/delete',
    require:['token','clientid','instanceId']
  },
  resetInstance:{
    url:'/qa/instance/reset',
    require:['token','clientid','instanceId']
  },
	listInstance:{
		url:'/qa/instance/list',
		require:['token','clientid']
	},
	getInstance:{
		url:'/qa/instance/get',
		require:['token','clientid','instanceId']
	},

	// Questionnaire answers
	// deleteQuestionnaire:{
	// 	url:'/qa/answer/create',
	// 	require:['token','clientid','id']
	// },
}
